﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using ApiManage.Models.zyhModels;

namespace ApiManage.Service.MsSql.IService
{
    public interface ISysUserService
    {
        SysUser GetUser(Expression<Func<SysUser, bool>> where);
        SysRole GetRole(Expression<Func<SysRole, bool>> where);
        List<SysMenu> GetMenu(Expression<Func<SysMenu, bool>> where);
        List<SysMenuButton> GetMenuButton(Expression<Func<SysMenuButton, bool>> where);
        List<SysMenuColumn> GetMenuColumn(Expression<Func<SysMenuColumn, bool>> where);
        List<SysUser> GetList(Expression<Func<SysUser, bool>> where);
        void Insert(SysUser param);
        void Update(SysUser param);
        void Delete(int id);
        void ResetPwd(int userId, string pwd);
    }
}
